free energy with magnets